//前台转发
export default [

    //新闻信息列表
    {
        path:"xinwenxinxi",
        name:"IndexxinwenxinxiList",
        props: route => ({id:route.query.id}),
        component: () => import("@/views/news/index"),
        meta: {title:"新闻信息列表" }
    },

    //新闻信息详情
    {
        path:"xinwenxinxidetail",
        name:"IndexxinwenxinxiDetail",
        props: route => ({id:route.query.id}),
        component: () => import("@/views/news/webdetail"),
        meta: {title:"新闻信息详情" }
    },

    //景点列表信息
    {
        path:"jingdianxinxi",
        name:"IndexjingdianxinxiList",
        props: route => ({id: route.params.id}),
        component: () => import("@/views/jingdianxinxi/index"),
        meta: {title:"景点列表信息" }
    },
    //景点详细信息
    {
        path:"jingdianxinxidetail",
        name:"IndexjingdianxinxiDetail",
        props:route=>({id:route.query.id}),
        component: () => import("@/views/jingdianxinxi/webdetail"),
        meta: { title:"景点信息详情"  }
    },

    //美食列表信息
    {
        path:"Gastronomy_information",
        name:"GastronomyInformationList",
        component: () => import("@/views/difangmeishi/index"),//"这里面不能多个空格，比如回产生错误"
        meta: {title: "美食列表信息"}
    },

    //地方美食详情
    {
        path:"Gastronomy_information_detail",
        name:"GastronomyInformationDetail",
        props:route=>({id:route.query.id}),
        component: () => import("@/views/difangmeishi/webdetail"),
        meta: { title:"地方美食详情"  }
    },

    //旅游路线列表信息
    {
        path: "tourist_route_information",
        name:"TouristRouteInformationList",
        component: () => import("@/views/tourist_routes/index"),//"这里面不能多个空格，比如回产生错误"
        meta: {title: "旅游路线列表信息"}
    },

    //旅游路线详情
    {
        path:"tourist_route_detail",
        name:"IndexlvyouxianluDetail",
        props:route=>({id:route.query.id}),
        component: () => import("@/views/tourist_routes/webdetail"),
        meta: { title:"旅游路线详情"  }
    },

    //在线留言添加
    {
        path:"Leave_message_online",
        name:"LeaveMessageOnline",
        component: () => import("@/views/Comment_boards/webadd"),
        meta: { title:"在线留言添加"  }
    },
    //在线留言显示
    {
        path:"Leave_message_online_detail",
        name:"LeaveMessageOnline",
        component: () => import("@/views/Comment_boards/webdetail"),
        meta: { title:"在线留言显示"  }
    },
    //前台注册
    {
        path:"User_add",
        name:"UserAdd",
        component: () => import("@/views/user/webadd"),
        meta: { title:"注册"  }
    },
    //预定添加
    {
        path:"booking_add",
        name:"IndexyudingAdd",
        component: () => import("@/views/booking/webadd"),
        meta: { title:"预定添加" ,authLogin:true,msg:true }
    },

]
    